﻿using System;
using System.Numerics;

class Fibonachi
{

    static void Main()
    {
        int fibonachi;
        Console.ForegroundColor = ConsoleColor.Yellow;
        Console.WriteLine("7.Write a program that reads a number N \nand calculates the sum of the first \nN members of the sequence of Fibonacci: \n");
        Console.ResetColor();
        Console.Write("Enter N :");
        int n = int.Parse(Console.ReadLine());
        int first = 1;
        int second = 1;
        Console.WriteLine(first);
        Console.WriteLine(second);
        for (int i = 2; i < n; i++)
        {
            fibonachi = first + second;
            first = second;
            second = fibonachi;
            Console.WriteLine(fibonachi);
        }
    }
}

